Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import path from 'path'; |
||
10 | |||
11 | class Test { |
||
12 | async cleanup() { |
||
13 | trackedLogs.length = 0; |
||
14 | } |
||
15 | |||
16 | parseToken(token) { |
||
17 | return aes.decrypt(token); |
||
18 | } |
||
19 | |||
20 | getToken() { |
||
21 | return aes.encrypt({ |
||
22 | c : -389952175, |
||
23 | u : 238585617, |
||
24 | d : +new Date() |
||
25 | }); |
||
26 | } |
||
27 | |||
28 | async getTracks() { |
||
29 | return trackedLogs; |
||
30 | } |
||
31 | |||
64 |